#include <iostream>
using namespace std;

int main()
{
  int *pCount;

  short *pStatus;

  char *pLetter;

  int count = 5;

  pCount = &count; // & ampersand symbol is the address operator

  int x = 5, y = 6;
  int *pX = &x, *pY = &y;

  cout << "*pX = " << *pX << endl;
  cout << "*pY = " << *pY << endl;

  pX = pY;
  cout << "After pX = pY, *pX = " << *pX << ", *pY = " << *pY << ", x = " << x << ", y = " << y << endl;



  int w = 7, z = 8;
  int *pW = &w, *pZ = &z;
  

  *pW = *pZ;
  cout << "After *pW = *pZ, *pW = " << *pW << ", *pZ = " << *pZ << ", w = " << w << ", z = " << z << endl;

  return 0;
}

